package com.xiaoxx.model.entity.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoxx.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * base--sys--角色/菜单关联
 * </p>
 *
 * @author HX
 * @since 2023-07-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_sys_role_menu")
@ApiModel(value="SysRoleMenu对象", description="base--sys--角色/菜单关联")
public class SysRoleMenu extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色id")
    @TableField("role_id")
    private String roleId;

    @ApiModelProperty(value = "菜单id")
    @TableField("menu_id")
    private String menuId;

}
